Skip to main content
Version: 11.x

Type alias: CreateTRPCProxyClient<TRouter>

CreateTRPCProxyClient: <TRouter> inferRouterProxyClient< TRouter > extends infer $ProcedureRecord ? UntypedClientProperties & keyof $ProcedureRecordextendsnever ? inferRouterProxyClient< TRouter> :IntersectionError< UntypedClientProperties& keyof$ProcedureRecord> :never

Creates a proxy client and shows type errors if you have query names that collide with built-in properties

Type parameters

Parameter
TRouter extends AnyRouter

Source

packages/client/dist/createTRPCClient.d.ts:35


Generated using TypeDoc and typedoc-plugin-markdown